#ifndef CONNECTIONLIST_H
#define CONNECTIONLIST_H


#include <QSettings>


struct ConnectionProfile {
    QString profileName;
    QString serverName;
    QString userName;
    QString password;
    QString databaseName;
};


class ConnectionList : public QSettings {
public:
    ConnectionList();
    ~ConnectionList();


    void write();
    void read();

public:
    QList<ConnectionProfile> profileList;
};



#endif // CONNECTIONLIST_H
